<?php
/**
* @author: Pham Van Diep
* @date: 18/2/2014
*/
$strUrlBack = isset($_SESSION[SESSION_BACKURL]) ? $_SESSION[SESSION_BACKURL] : HOST_BACKEND;
if( !isset($AppUI) || 
	$AppUI->type < PERMISSION_UPDATE
) {
	redirect($strUrlBack);
}
$this->load->model('club_model', 'club');
$intClubId = (int)$this->input->get('clubid', 0);
$row        = $this->club->get($intClubId);

$this->smarty->assign('row', $row);
$this->smarty->assign('back', $strUrlBack);
//$this->smarty->assign('arrType', $arrType);
//$this->smarty->assign('arrRoom', $arrRoom);
$this->smarty->display('club/edit.tpl');